package priv.lirenhe.dissertation.service;

import java.util.List;
import java.util.Map;

import priv.lirenhe.dissertation.domain.mysql.WebPage;
import priv.lirenhe.dissertation.domain.mysql.WebPageExample;
import priv.lirenhe.dissertation.domain.mysql.WebPageWithBLOBs;

public interface WebPageService {

	public long getCountPageByExample(WebPageExample example);
	
	public int deletePageByExample(WebPageExample example);
	
	public int deletePageByPrimaryKey(Long webPageId);
	
	public int insertPage(WebPageWithBLOBs record);
	
	public int insertPageSelective(Map<String,String> map);
	
	public List<WebPageWithBLOBs> selectPageByExampleWithBLOBs(WebPageExample example);
	
	public List<WebPage> selectPageByExample(WebPageExample example);
	
	public WebPageWithBLOBs selectPageByPrimaryKey(Long webPageId) ;
	
	public int updatePageByExampleSelective(WebPageWithBLOBs record,WebPageExample example);
	
	public int updatePageByExampleWithBLOBs(WebPageWithBLOBs record,WebPageExample example);
	
	public int updatePageByExample(WebPage record, WebPageExample example);
	
	public int updatePageByPrimaryKeySelective(WebPageWithBLOBs record);
	
	public int updatePageByPrimaryKeyWithBLOBs(WebPageWithBLOBs record);
	
	public int updatePageByPrimaryKey(WebPage record);
	
	
	
	
	
	
	
	
	
	
	
	
	

}
